package com.sword.pojo.finance;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors( chain = true)
@Builder
public class ReceivablesPay {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private  String receivablepayid;
    private  String supplierid;
    private  String createid;
    private  String examineid;
    private BigDecimal Account;
    private  Integer billid;
    private  Integer status;
    private  Integer billstatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("SubmitDate")
    private Date submitdate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("ReviewDate")
    private Date reviewdate;
}
